package com.hz.interfaces.user.inf;

import java.util.List;

import com.hz.base.beans.vo.CommonResult;
import com.hz.base.beans.vo.PageEntity;
import com.hz.base.beans.vo.QueryParams;
import com.hz.beans.user.entity.TRecipient;

/**
 * ITRecipientService
 * @author mcz
 * @since [0.0.1]
 * @version [0.0.1,2018年10月08日]
 */
public interface ITRecipientInterface {

	CommonResult<TRecipient> addTRecipient(TRecipient tRecipient);

	CommonResult<List<TRecipient>> queryTRecipientList(QueryParams<TRecipient> queryParams);

	CommonResult<TRecipient> queryTRecipient(Long id);

	CommonResult<TRecipient> updateTRecipient(TRecipient tRecipient);

	CommonResult<Object> deleteTRecipientArray(Long[] ids);

	CommonResult<PageEntity> queryForPage(QueryParams<TRecipient> queryParams);
	
	CommonResult<TRecipient> insertSelective(TRecipient tRecipient);
	
	CommonResult<Object> deleteByList(List<TRecipient> tRecipientList);
	
	CommonResult<List<TRecipient>> batchUpdate(List<TRecipient> tRecipientList);
	
	CommonResult<List<TRecipient>> batchSave(List<TRecipient> tRecipientList);
	
}
